export const recordListStyles = `
  body {
    padding: 10px;
    font-family: var(--vscode-font-family);
  }
  
  .record-item {
    padding: 10px;
    margin: 5px 0;
    background: var(--vscode-editor-background);
    border: 1px solid var(--vscode-panel-border);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
  }
  
  .record-item:hover {
    background: var(--vscode-list-hoverBackground);
  }
  
  .record-title {
    font-weight: bold;
    color: var(--vscode-editor-foreground);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  
  .record-path {
    font-size: 12px;
    color: var(--vscode-descriptionForeground);
    margin: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .record-solution {
    margin-top: 5px;
    color: var(--vscode-textPreformat-foreground);
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
  }
  
  .record-content {
    margin-right: 20px;
    min-height: 60px;
  }
  
  /* 标签样式 */
  .record-tags {
    margin: 8px 0 5px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
  }
  
  .tag-item {
    display: inline-flex;
    align-items: center;
    background: var(--vscode-badge-background);
    color: var(--vscode-badge-foreground);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid var(--vscode-badge-background);
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .tag-item:hover {
    background: var(--vscode-button-hoverBackground);
    border-color: var(--vscode-focusBorder);
    transform: translateY(-1px);
  }
  
  .tag-more {
    color: var(--vscode-descriptionForeground);
    font-size: 11px;
    font-style: italic;
    padding: 2px 6px;
    background: var(--vscode-textBlockQuote-background);
    border-radius: 10px;
    cursor: help;
  }
  
  .tag-more:hover {
    background: var(--vscode-list-hoverBackground);
  }
  
  /* 按钮组样式 */
  .button-group {
    position: absolute;
    right: 8px;
    top: 8px;
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 10;
  }
  
  .record-item:hover .button-group {
    opacity: 1;
  }
  
  .edit-btn, .delete-btn, .reference-btn, .update-btn, .comment-btn {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: var(--vscode-button-secondaryBackground);
    transition: all 0.2s;
  }
  
  .edit-btn { color: #4e9c4e; }
  .delete-btn { color: #d16969; }
  .reference-btn { color: #4b9edd; }
  .update-btn { color: #f0ad4e; }
  .comment-btn { color: #9b59b6; }
  
  .edit-btn:hover {
    background: var(--vscode-button-secondaryHoverBackground);
    color: #6cc86c;
  }
  .delete-btn:hover {
    background: var(--vscode-button-secondaryHoverBackground);
    color: #ff8080;
  }
  .reference-btn:hover {
    background: var(--vscode-button-secondaryHoverBackground);
    color: #6cb8ff;
  }
  .update-btn:hover {
    background: var(--vscode-button-secondaryHoverBackground);
    color: #ffcc66;
  }
  .comment-btn:hover {
    background: var(--vscode-button-secondaryHoverBackground);
    color: #c983e8;
  }
  
  .no-records {
    text-align: center;
    color: var(--vscode-descriptionForeground);
    margin-top: 20px;
  }
`
